package com.mesSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("sales_order")
public class SalesOrder {
    @TableId(value = "sales_order_id", type = IdType.AUTO)
    /**
     * 订单id
     */
    private Long salesOrderId;
    /**
     * 产品
     */
    private Long productDefinitionId;
    /**
     * 数量
     */
    private String quantity;
    /**
     * 备注
     */
    private String remark;
    /**
     * 交货日期
     */
    private Date finishDate;
}
